package day16.myreflect03;

/**
 * @author Xiao
 * @date 2021/8/10
 */
public class Student03 {
    public String name;
    public int age;
    String gender;
    private int money = 300;

    @Override
    public String toString() {
        return "Student03{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", money=" + money +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public Student03(String name, int age, String gender, int money) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.money = money;
    }

    public Student03() {
    }
}
